package com.servlet.bean;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

/**
 * @Title: Student
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2023/12/26 14:12
 */
public class Student {
    private String id;
    private String name;
    private String image;
    private Integer age;
    private Double score;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date comedate;
    private String remark;
    public Student() {
    }
    public Student(String id, String name, String image, Integer age, Double score, Date comedate, String remark) {
        this.id = id;
        this.name = name;
        this.image = image;
        this.age = age;
        this.score = score;
        this.comedate = comedate;
        this.remark = remark;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Date getComedate() {
        return comedate;
    }

    public void setComedate(Date comedate) {
        this.comedate = comedate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
